package org.smile.design.brige;

import lombok.Data;

@Data
public class CommunicateEquipment extends ShipEquipment{

    public CommunicateEquipment(String name) {
        super(name);
    }

    public void communicate() {
        System.out.println(this.getName() + " 通讯");
    }

    @Override
    public void execute() {
        communicate();
    }
}
